﻿using System;
using System.Collections.Generic;

namespace Qask.Service.Core
{
    public interface IPostService
    {
        List<PostViewModel> GetQuestions();
        List<PostViewModel> GetQuestions(PostFilterViewModel filterView);
        PostViewModel Get(int id);
        int CreateQuestion(CreateQuestionViewModel newQuestion, string userId);
        PostViewModel UpdateQuestion(PostViewModel updatedPost, string userId);
    }
}